/**
 * @projectName 高校就业网
 * @package com.kzj.CollegeEmploymentNetwork.model
 * @className com.kzj.CollegeEmploymentNetwork.model.CompanyPicture
 * @copyright Copyright 2025 Thunisoft, Inc. All rights reserved.
 */
package com.kzj.CollegeEmploymentNetwork.model;

import javax.persistence.Column;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import com.kzj.CollegeEmploymentNetwork.common.BaseEntity;
import javax.validation.constraints.Size;
import com.kzj.CollegeEmploymentNetwork.validate.Validate;


/**
 * CompanyPicture
 *
 * @description 公司图片表实体
 * @author kzj
 * @date 2025年01月20日 23:11:54
 * @version 1.0.0
 **/
@ApiModel("公司图片表")
@Table(name="db_recruit.t_company_picture")    
@Getter
@Setter
@ToString
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class CompanyPicture extends BaseEntity{
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    /**
     * 外键：公司编号
     */
    @ApiModelProperty("外键：公司编号")
    @Column(name = "c_bh_company", columnDefinition = "varchar(32)")
    @Size(max = 32, groups = {Validate.class}, message = "外键：公司编号的最大长度为32")
    private String bhCompany;

    /**
     * 图片url
     */
    @ApiModelProperty("图片url")
    @Column(name = "c_picture", columnDefinition = "varchar(300)")
    @Size(max = 300, groups = {Validate.class}, message = "图片url的最大长度为300")
    private String picture;

    /**
     * 排序编号
     */
    @ApiModelProperty("排序编号")
    @Column(name = "n_sort_no")
    private Integer sortNo;

}